
namespace Patterns4Net.Attributes.Diagrams
{
    using System;

    [AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = true)]
    public sealed class LayerAttribute : Attribute
    {
        public LayerAttribute(string @namespace)
        {            
        }

        /// <summary>
        /// Provides way to construct the attribute without a magic string.
        /// </summary>
        /// <param name="type">
        /// Any type from the layer. 
        /// It must be placed in the most top level namespace in the layer.
        /// </param>
        public LayerAttribute(Type type)
        {            
        }
    }
}
